package com.weipu.common.facade.constant;

import com.weipu.common.facade.content.api.CategoryService;

/**
 * 栏目模块相关常量
 * 
 * @author zhl014
 */
public class CategoryContant
{
    
    /**
     * 存储相关操作静态常量 ，范围值: 1001~1100
     * 
     * @author zhl014
     */
    public static final class InsertCategory
    {
        /**
         * 保存完成
         */
        public static final int INSERT_COMPLETED = 1001;
        
    }
    
    /**
     * 查询相关操作静态常量 ，范围值: 1101~1199
     * 
     * @author zhl014
     */
    public static final class QueryCategory
    {
        /**
         * {@link CategoryService#queryCategoryDetailByCategoryID(String)}
         */
        public static final int QUERY_DETAIL_BY_CATEGORY_ID = 1101;
        
        /**
         * {@link CategoryService#queryCategoryListByParentCategoryID(String)}
         */
        public static final int QUERY_LIST_BY_PARENT_ID = 1102;
    }
    
    /**
     * 删除相关操作静态常量 ，范围值: 1201~1299
     * 
     * @author zhl014
     */
    public static final class DeleteCategory
    {
        /**
         * {@link CategoryService#deleteCategoryInfoByID(String)}
         */
        public static final int DELETE_CATEGORY_INFO_BY_CATEGORY_ID = 1201;
        
        /**
         * {@link CategoryService#deleteCategoryListByParentID(String)}
         */
        public static final int DELETE_CATEGORY_LIST_BY_PARENT_ID = 1202;
        
        /**
         * {@link CategoryService#clearCategory()}
         */
        public static final int DELETE_CATEGORY_ALL_LIST = 1203;
    }
}
